Answers are not necessarily complete! This is just meant to serve as a check if you are stuck.
Questions
Question 1
This question and data are adapted from this textbook.
In an experiment designed to describe the dose–response curve for vitamin K, individual rats were depleted of their vitamin K reserves and then fed dried liver for 4 days at different dosage levels. The response of each rat was measured as the concentration of a clotting agent needed to clot a sample of its blood in 3 minutes. The results of the experiment on 12 rats are given in the following table; values are expressed in common logarithms for both dose and response.
`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
Part k
Warning: The dot-dot notation (`..density..`) was deprecated in ggplot2 3.4.0.
ℹ Please use `after_stat(density)` instead.
ℹ The deprecated feature was likely used in the describedata package.
Please report the issue to the authors.
Part l
Not given
Part m
Part n
For the log-transformed Rate:
q1_model2 =lm (Rate_log ~ Age, data = q1_data2)q1_mod_t2 =tidy(q1_model2)q1_mod_t2 %>%gt()
\(\beta_0\): The expected depression score is 6.4 when fatalism, depression, and spirituality scores are 0 (95% CI: 2.4, 10.4).
Same as homework 2: The intercept does not make sense. A score of 0 is outside the range of possible scores for fatalism, optimism, and spirituality.
\(\beta_1\): For every 1 point higher fatalism score, there is an expected difference of 0.15 points higher depression score, adjusting for optimism and spirituality score (95% CI: 0.06, 0.24).